home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / misc / BST_SystemDocs.lha / BeastV1 / Include / BST_System / beast_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-05-16  |  2.8 KB  |  61 lines

  1. #ifndef  BEAST_PROTOS_H
  2. #define  BEAST_PROTOS_H
  3.  
  4. /****h* Beast/Beast_Protos.h [0.1b]
  5. *
  6. *  NAME
  7. *    Beast_protos.h -- beast prototypes
  8. *
  9. *  COPYRIGHT
  10. *    Maverick Software Development 1995
  11. *
  12. ***************************************
  13. */
  14.  
  15. #include <BEAST:Include/BST_System/beast.h>
  16. #include <utility/tagitem.h>
  17.  
  18. struct BST_Class *BST_MakeClass   (char *, ULONG) ;
  19. void              BST_AddClass    (struct BST_Class *) ;
  20. void              BST_RemoveClass (struct BST_Class *) ;
  21. void              BST_FreeClass   (struct BST_Class *) ;
  22.  
  23. struct BST_Class        *CLSS_AddMethod     (struct BST_Class *, ULONG *, BST_Method) ;
  24. struct class_MethodList *CLSS_FindMethod    (struct BST_Class *, BST_Method );
  25. void                     CLSS_DisposeMethod (struct BST_Class *, ULONG *, BST_Method );
  26. struct clss_InputLink   *CLSS_AddInput      (struct BST_Class *, char *, BST_Method );
  27. struct clss_OutputLink  *CLSS_AddOutput     (struct BST_Class, char *, BST_Method );
  28. void                     CLSS_RemoveInput   (struct clss_InputLink  * );
  29. void                     CLSS_RemoveOutput  (struct clss_OutputLink * );
  30.  
  31. struct BST_Object *OBJ_NewObject        (struct BST_Class *, char *, struct BST_Object * );
  32. void               OBJ_DisposeObject    (struct BST_Object * );
  33. struct BST_Object *OBJ_DestroyObject    (struct BST_Object *, BST_MethodFlags );
  34. BST_MethodFlags    OBJ_DoMethod         (struct BST_Object *, BST_Method, struct TagItem *, BST_MethodFlags );
  35. BST_MethodFlags    OBJ_MethodToChildren (struct BST_Object *, BST_Method, struct TagItem *, BST_MethodFlags );
  36. BST_MethodFlags    OBJ_MethodToParent   (struct BST_Object *, BST_Method, struct TagItem *, BST_MethodFlags );
  37.  
  38. struct obj_OutputLink *OBJ_CreateConnection( struct BST_Object *, struct BST_Object *, BST_Method, BST_Method );
  39. void               OBJ_RemoveConnection( struct obj_OutputLink * );
  40. BST_MethodFlags    OBJ_ToOutput         (struct BST_Object *, struct TagItem *, BST_Method, BST_MethodFlags );
  41. BST_MethodFlags    OBJ_FromInput    (struct BST_Object *, BST_Method, BST_MethodFlags, struct TagItem * );
  42.  
  43. void        BST_SetDelayedDispose    ( struct BST_Object * );
  44. void        BST_DelayedDispose    ( void );
  45.  
  46. struct TagItem *BST_FindTagItem          (ULONG, struct TagItem *) ;
  47. struct TagItem *BST_NextTagItem          (struct TagItem *) ;
  48. void            BST_ApplyTagChanges      (struct TagItem *, struct TagItem *) ;
  49. struct TagItem *BST_CloneTagItems        (struct TagItem *) ;
  50. void            BST_FreeTagItems         (struct TagItem *) ;
  51. void            BST_TagListGETATTRParent (struct TagItem *, struct TagItem *, struct BST_Object *) ;
  52. void            BST_FillAttrTagList      (struct TagItem *, Tag *, ULONG) ;
  53.  
  54. struct BST_Class *BST_MakeSubClass( char *, ULONG, char * );
  55. void        BST_ForceDestroyBeast    ( void );
  56.  
  57. struct BST_Object *OBJ_CreateObject( char *, struct BST_Object *, struct TagItem * );
  58.  
  59.  
  60. #endif     /* BEAST_PROTOS_H */
  61.